package com.pp.bean;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 品牌故事详情富文本的图片
 * </p>
 *
 * @author 冯政尚
 * @since 2019-04-03
 */
@ApiModel(value="GovStoryInfoImage对象", description="品牌故事详情富文本的图片")
public class GovStoryInfoImage extends Model<GovStoryInfoImage> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @ApiModelProperty(value = "品牌故事详情富文本的图片URL")
    @TableField("image_url")
    private String imageUrl;

    @ApiModelProperty(value = "中英文 1 中 2 英文")
    @TableField("lang")
    private Integer lang;

    @ApiModelProperty(value = "高")
    @TableField("height")
    private Integer height;

    @ApiModelProperty(value = "宽")
    @TableField("width")
    private Integer width;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
    public Integer getLang() {
        return lang;
    }

    public void setLang(Integer lang) {
        this.lang = lang;
    }
    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }
    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "GovStoryInfoImage{" +
        "id=" + id +
        ", imageUrl=" + imageUrl +
        ", lang=" + lang +
        ", height=" + height +
        ", width=" + width +
        "}";
    }
}
